package com.badibadi.mail;

import com.badibadi.uniclubber.R;
import com.badibadi.uniclubber.R.layout;
import com.badibadi.uniclubber.R.menu;

import android.os.Bundle;
import android.app.Activity;
import android.view.Gravity;
import android.view.Menu;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

/**
 * 问方不同意该质询费(拒绝支付)（双方均显示拒绝支付，允许删除该站内信）
 * @author Administrator
 *
 */
public class Mail9_11_12Activity extends Mail67Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		
	}

	@Override
	protected void DongTaiPeiZhi() {
		// TODO Auto-generated method stub
		super.DongTaiPeiZhi();
		this.findViewById(R.id.delete).setVisibility(View.VISIBLE);
		TextView tishi=(TextView) this.findViewById(R.id.tishi);
		tishi.setText(getResources().getString(R.string.wx_refuse_zhifu_kuohao));
		tishi.setVisibility(View.VISIBLE);
		this.findViewById(R.id.shedingzhixunfei).setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Toast toast=Toast.makeText(getApplicationContext(), getResources().getString(R.string.wx_refusez_zhifu), Toast.LENGTH_SHORT);  
		        //第一个参数：设置toast在屏幕中显示的位置。
		        //第二个参数：相对于第一个参数设置toast位置的横向X轴的偏移量，正数向右偏移，负数向左偏移  
		        //第三个参数：同的第二个参数道理一样  
		        //如果你设置的偏移量超过了屏幕的范围，toast将在屏幕内靠近超出的那个边界显示  
		        toast.setGravity(Gravity.CENTER, 0, 0);
		        //屏幕居中显示，X轴和Y轴偏移量都是0  
		        //toast.setGravity(Gravity.CENTER, 0, 0);   
		        toast.show();  
			}
		});
		
		
	}
	
}
